﻿<%@ Page Title="" Language="C#" MasterPageFile="~/styles/AdminMasterPage.master" AutoEventWireup="true" CodeFile="ArtistManagement.aspx.cs" Inherits="Admin_ArtistManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TopContent" Runat="Server">
    <h3 class="titleDetails">Music Management</h3>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
    <div style="width:98%;margin:0 auto;">
        <asp:GridView ID="grvw_Artists" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
            DataKeyNames="ArtistID" DataSourceID="LDS_Artists" ForeColor="#333333" 
            GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
                <asp:BoundField DataField="ArtistID" HeaderText="ArtistID" ReadOnly="True" 
                    SortExpression="ArtistID" />
                <asp:BoundField DataField="ArtistName" HeaderText="ArtistName" 
                    SortExpression="ArtistName" />
                <asp:BoundField DataField="Description" HeaderText="Description" 
                    SortExpression="Description" ItemStyle-Wrap="True" />             
                <asp:BoundField DataField="ImageCover" HeaderText="ImageCover" 
                    SortExpression="ImageCover" />
            </Columns>
            <EditRowStyle BackColor="#7C6F57" />
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F8FAFA" />
            <SortedAscendingHeaderStyle BackColor="#246B61" />
            <SortedDescendingCellStyle BackColor="#D4DFE1" />
            <SortedDescendingHeaderStyle BackColor="#15524A" />
        </asp:GridView>
        <asp:LinqDataSource ID="LDS_Artists" runat="server" 
            ContextTypeName="Sharemp3DataContext" EnableDelete="True" EnableInsert="True" 
            EnableUpdate="True" EntityTypeName="" TableName="Artists">
        </asp:LinqDataSource>
    </div>
</asp:Content>

